package com.etc.entity;

import java.util.List;

public class Attribute {
    int attrNameId;
    int cid;
    String attrName;
    List<AttributeValue> attrvalue;

    @Override
    public String toString() {
        return "Attribute{" +
                "attrNameId=" + attrNameId +
                ", cid=" + cid +
                ", attrName='" + attrName + '\'' +
                ", attrvalue=" + attrvalue +
                '}';
    }

    public Attribute() {
    }

    public Attribute(int attrNameId, int cid, String attrName, List<AttributeValue> attrvalue) {
        this.attrNameId = attrNameId;
        this.cid = cid;
        this.attrName = attrName;
        this.attrvalue = attrvalue;
    }

    public int getAttrNameId() {
        return attrNameId;
    }

    public void setAttrNameId(int attrNameId) {
        this.attrNameId = attrNameId;
    }

    public int getCid() {
        return cid;
    }

    public void setCid(int cid) {
        this.cid = cid;
    }

    public String getAttrName() {
        return attrName;
    }

    public void setAttrName(String attrName) {
        this.attrName = attrName;
    }

    public List<AttributeValue> getAttrvalue() {
        return attrvalue;
    }

    public void setAttrvalue(List<AttributeValue> attrvalue) {
        this.attrvalue = attrvalue;
    }
}
